﻿<!--<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<BGCMS.Models.Question>" %>-->


    <% using (Html.BeginForm()) {%>
        <%: Html.ValidationSummary(true) %>

        
            
         
            
        <!--    <div class="editor-label">
                <%: Html.LabelFor(model => model.AskedBy) %>
            </div>
            <div class="editor-field">
                <%: Html.TextBoxFor(model => model.AskedBy) %>
                <%: Html.ValidationMessageFor(model => model.AskedBy) %>
            </div>
            
            <div class="editor-label">
                <%: Html.LabelFor(model => model.AnsweredBy) %>
            </div>
            <div class="editor-field">
                <%: Html.TextBoxFor(model => model.AnsweredBy) %>
                <%: Html.ValidationMessageFor(model => model.AnsweredBy) %>
            </div>-->
            
            <div class="editor-label">
                <%: Html.LabelFor(model => model.Title) %>
            </div>
            <div class="editor-field">
                <%: Html.TextBoxFor(model => model.Title) %>
                <%: Html.ValidationMessageFor(model => model.Title) %>
            </div>
            
            <div class="editor-label">
                <%: Html.LabelFor(model => model.Question1) %>
            </div>
            <div class="editor-field">
                <%: Html.TextAreaFor(model => model.Question1) %>
                <%: Html.ValidationMessageFor(model => model.Question1) %>
            </div>
            
      <!--      <div class="editor-label">
                <%: Html.LabelFor(model => model.Answer) %>
            </div>
            <div class="editor-field">
                <%: Html.TextBoxFor(model => model.Answer) %>
                <%: Html.ValidationMessageFor(model => model.Answer) %>
            </div>-->
            
            <div class="editor-label">
                <%: Html.LabelFor(model => model.IsPrivate) %>
            </div>
            Má birta greinina?
            <div class="editor-field">
                <%: Html.RadioButton("IsPrivate","Yes") %> já
                <%: Html.RadioButton("IsPrivate","No", true) %> nei
                <%: Html.ValidationMessageFor(model => model.IsPrivate) %>
            </div>
            
     <!--       <div class="editor-label">
                <%: Html.LabelFor(model => model.IsAnswered) %>
            </div>
            <div class="editor-field">
                <%: Html.TextBoxFor(model => model.IsAnswered) %>
                <%: Html.ValidationMessageFor(model => model.IsAnswered) %>
            </div>
            
            <div class="editor-label">
                <%: Html.LabelFor(model => model.IsPublished) %>
            </div>
            <div class="editor-field">
                <%: Html.TextBoxFor(model => model.IsPublished) %>
                <%: Html.ValidationMessageFor(model => model.IsPublished) %>
            </div>-->
            
            <p>
                <input type="submit" value="Senda inn spurningu" />
            </p>
  

    <% } %>

    <div>
        <%: Html.ActionLink("Back to List", "Index") %>
    </div>


